#include "MatrixKeyBoard.h"
#include "LCD1602.h"
#include "DelayTime.h"

void main()
{
	int count = 0;
	int sum = 0;
	int ret = 0;
	LCD_Init();
	LCD_ShowString(1,1,"Hello KeyBoard");

	while(1)
	{
			// 先LCD1602只显示4位数
			ret = GetKeyBoard();
			if(ret)
			{
				LCD_ShowNum(2,1,ret,4);
			}

	}
}